<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\grid\GridView;
use mihaildev\elfinder\InputFile;
use yii\helpers\ArrayHelper;
use yii\data\ActiveDataProvider;
?>
 
<?php 

//开始页面
?>

<style>
<!--
#sysitem-color_list label, #sysitem-style_list label, #sysitem-space_list label,#sysitem-place_list label,#sysitem-sery_list label
	{
	
	font-weight:normal;
}

ul{
	list-style:none;
}
ul li{
	display:inline-block;
}

#size_ul li{
	display:inline-block;
}
a{
	cursor:pointer;
}
.hide{
	visibility:hidden;
}
-->
</style>
 

<div class="sys-item-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true,'style'=>'display:inline;']) ?>
    
   	<?= $form->field($model, 'lifestyle')->widget(\yii\redactor\widgets\Redactor::className()) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app','Create') : Yii::t('app','Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>
        
    <?php ActiveForm::end(); ?>
     	<div><label id = 'price_message' style='color:blue;'></label></div>

        
</div>


